
//
//  FKHideNavSimpleVC.m
//  智慧水利平台
//
//  Created by Macbook Pro on 2020/4/8.
//  Copyright © 2020 jxwdyf. All rights reserved.
//

#import "FKHideNavSimpleVC.h"

@interface FKHideNavSimpleVC ()<UINavigationControllerDelegate>

@end

@implementation FKHideNavSimpleVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    if (self.isNeedRemoveBeforeVc) {
        [self fk_removeBeforeVC];
    }
}

#warning 直接在FKNavVC中的UINavigationControllerDelegate方法中处理了，就不用在这里处理了
//- (void)viewWillAppear:(BOOL)animated
//{
//    [super viewWillAppear:animated];
//
//    // 设置导航控制器的代理为self
//    self.navigationController.delegate = self;
//}
//
//#pragma mark - UINavigationControllerDelegate
//// 将要显示控制器
//- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated {
//    BOOL temp = [viewController isKindOfClass:[self class]];
//    [self.navigationController setNavigationBarHidden:[viewController isKindOfClass:[self class]] animated:YES];
//}
//
//- (void)dealloc {
//    self.navigationController.delegate = nil;
//}

@end
